package com.tw.entity;

public class Course {
    private String cName;
    private int credit;

    public Course(String cName, int credit) {
        this.cName = cName;
        this.credit = credit;
    }

    public Course() {
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }

    @Override
    public String toString() {
        return "Course{" +
                "cName='" + cName + '\'' +
                ", credit=" + credit +
                '}';
    }
}
